import * as http from '@/utils/http'

export function getUser (code, referId = '') {
  return http.get('/auth/userinfo', {code: code, referId: referId})
}
